package com.common.model.view.wechat.applet;

import java.io.Serializable;

public class JsCode2SessionResView implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4534862193594395244L;

	private String errcode;
	private String errmsg;
	private String openid;
	private String session_key;
	private String unionid;

	public JsCode2SessionResView() {
		super();
	}

	public JsCode2SessionResView(String errcode, String errmsg, String openid, String session_key, String unionid) {
		super();
		this.errcode = errcode;
		this.errmsg = errmsg;
		this.openid = openid;
		this.session_key = session_key;
		this.unionid = unionid;
	}

	@Override
	public String toString() {
		return "JsCode2SessionResView [errcode=" + errcode + ", errmsg=" + errmsg + ", openid=" + openid + ", unionid=" + unionid
				+ ", session_key=" + session_key + "]";
	}

	public String getErrcode() {
		return errcode;
	}

	public void setErrcode(String errcode) {
		this.errcode = errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getSession_key() {
		return session_key;
	}

	public void setSession_key(String session_key) {
		this.session_key = session_key;
	}

	public String getUnionid() {
		return unionid;
	}

	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}
}
